
package com.insigma.business.qrcode.common.service;



import com.insigma.business.qrcode.common.dto.GovOrgBSearcher;
import com.insigma.business.qrcode.soldier.entity.DataStatsCDO;
import com.insigma.business.qrcode.soldier.entity.GovOrgDO;

import java.util.List;


public interface GovOrgService {

    
    List<GovOrgDO> search(final GovOrgBSearcher innerSearcher);

    
    GovOrgDO get(final String id);

    
    Integer insert(final GovOrgDO govOrg);

    
    Integer update(final GovOrgDO govOrg);

    
    Integer delete(final String id, final String modifierType, final String modifierId);

    
    GovOrgDO getByAreaCodeAndId(String areaCode, String s);

    
    Integer countSubFwz(String adminAreaCode);

    
    List<GovOrgDO> listSubStationOfNextLevel(String adminAreaCode);

    
    List<GovOrgDO> listStationByAdminAreaCode(String adminAreaCode);

    List<GovOrgDO> listFwzChildren(String code, int level);

    List<GovOrgDO> searchAllSubOrgByCode(GovOrgBSearcher govOrgBSearcher);

    List<GovOrgDO> listByEmployeeId(String creatorGovId);

    List<GovOrgDO> listSubStationByCode(String code);

    
    List<DataStatsCDO> countSubFwzDistribution(String adminAreaCode);

    String getAdminAreaCodeOfEmploy(String employeeId);

    GovOrgDO getGovOfEmploy(String employeeId);

    List<GovOrgDO> listByNameLikeOfYh(String name, String code);


    GovOrgDO getFirstFwz(String adminAreaCode, String baseId);
}
